#include "Texture.h"

CTexture::CTexture()
: m_FileName("")
{
	
}
CTexture::~CTexture()
{
	Unload();
}

const std::string & CTexture::GetFileName() const
{
	return m_FileName;
}

bool CTexture::Load(const std::string &FileName)
{
	m_FileName=FileName;
   	return LoadFile();
}
bool CTexture::Reload()
{
	Unload();
   	return LoadFile();
}